<template>
  <h1>LhzN</h1>
  <slot name="lhzAA"></slot>
  <slot name="lhzBB"></slot>
  <slot name="lhzCC"></slot>
</template>

<script>
import {ref} from "vue";

export default {
  name: "LhzN",
  setup(props, context) {
    const {slots} = context;
    // console.log(slots.lhzAA()[0].children);
    console.log(slots.lhzBB()[0].children);
    slots.lhzBB()[0].children = '李昊哲BB';
    console.log(slots.lhzBB()[0].children);
  }
}
</script>

<style scoped>

</style>